<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>

<h2>persons:DETAIL</h2>
<table>
  <thead>
    <th>Name</th>
    <th>Email</th>
    <th>Gender</th>
    <th>Department</th>
    <th>Telephone</th>
    <th>Hobby</th>
    <th>Talent</th>
    <th>Moodmsg</th>
  </thead>
  <c:forEach var="person" items="${perOnlineList}">
    <tr>
      <td>${person.nickname}</td>
      <td>${person.email}</td>
      <td>${person.gender}</td>
      <td>${person.department}</td>
      <td>${person.telephone}</td>
      <td>${person.hobby}</td>
      <td>${person.talent}</td>
      <td>${person.moodmsg}</td>
    </tr>
  </c:forEach>
</table>
<br />
<hr />
<h2>Want to add a buddy?</h2>
<form method="POST" action="addBuddy_submit">
    <table>
    <tr>
      <th>
       Name:
      </th>
      <th>
        <input type="text" name="addBuddyName" size="21" maxlength="21"/>
      </th>
    </tr>
    <tr>
      <th valign="top">
        Reason: 
      </th>
      <th>
        <textarea name="detail" cols=20 rows=5 draggable="false"></textarea>
      </th>
    </tr>
    <tr>
      <td align="center" colspan="2">
         <p class="submit"><input type="submit" value="Submit"/></p>
      </td>
    </tr>
  </table>
</form>
<%@ include file="/WEB-INF/jsp/footer.jsp" %>

